package com.ruoyi.commissionrule.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分佣机制管理对象 am_commission_rule
 * 
 * @author ruoyi
 * @date 2020-07-28
 */
public class AmCommissionRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分佣规则ID */
    private Long id;

    /** 分佣规则编号 */
    @Excel(name = "分佣规则编号")
    private String commissionCode;

    /** 分佣规则名称 */
    @Excel(name = "分佣规则名称")
    private String ruleName;

    /** 最后修改时间 */
    private Date modifiedTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommissionCode(String commissionCode) 
    {
        this.commissionCode = commissionCode;
    }

    public String getCommissionCode() 
    {
        return commissionCode;
    }
    public void setRuleName(String ruleName) 
    {
        this.ruleName = ruleName;
    }

    public String getRuleName() 
    {
        return ruleName;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commissionCode", getCommissionCode())
            .append("ruleName", getRuleName())
            .append("createTime", getCreateTime())
            .append("modifiedTime", getModifiedTime())
            .toString();
    }
}
